package com.ityu.datastudy;

import com.ityu.common.utils.Utils;

public class A {
    private String name;
    private String sex;

    public A() {
    }

    private A(String name) {
        this.name = name;
    }

    public A(String name, String sex) {
        this.name = name;
        this.sex = sex;
    }

    public String getSex() {
        Utils.myLog("sex="+sex);
        return sex;
    }


    private void testPrivate(String privateName){
        Utils.myLog("testPrivate="+privateName);
    }

    @Override
    public String toString() {
        return "A{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
